package com.smartcommunity.service.fullSearch;

import java.util.List;

import com.smartcommunity.bean.model.Pager;
import com.smartcommunity.entity.fullSearch.FullCountResponse;
import com.smartcommunity.entity.fullSearch.FullSearchRequest;
import com.smartcommunity.entity.fullSearch.FullSearchResponse;

/**
 * @ClassName: FullSearchService
 * @Description: 全息档案业务层接口
 * @author: yangyi
 * @Date: 2020/6/30 17:45
 * @Company:
 */
public interface FullSearchService {

	/**
	 * 获取数据总数和今日新增数量
	 * @return
	 */
	public FullCountResponse fullCount(List<String> villageCode, Integer userId) throws Exception;

	/**
	 * 全文检索
	 * @param req
	 * @param villageCode
	 * @param userId
	 * @return
	 */
	public Pager<FullSearchResponse> fullSearch(FullSearchRequest req, List<String> villageCode, Integer userId) throws Exception;
}
